package user

import "vblog/exception"

type Role int

// 0 访客
// 1 管理员
const (
	ROLE_GUEST Role = iota
	ROLE_ADMIN
	ROLE_AUTHOR
)

var AppName = "users"

var UserIdNotEmpty = exception.NewApiException(30000, "查询信息不能为空")
